<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('index')}">资源库申请列表</a></li>
		</ul>
		<table class="table table-hover table-bordered margin-top-20">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>企业名称</th>
					<th>备注</th>
					<th>申请人</th>
					<th>价格</th>
					<th>经营情况</th>
					<th>联系人</th>
					<th>联系人身份</th>
					<th>转让原因</th>
					<th>经营状况</th>
					<th>锁定状态</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="lists" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.company}</td>
					<td class="remark">{$vo.remark}</td>
					<td>{$vo.user_nickname}</td>
					<td>{$vo.price}</td>
					<td>{$vo.jyqk}</td>
					<td>{$vo.lxr}</td>
					<td>{$vo.lxrsf}</td>
					<td>{$vo.zryy}</td>
					<td>{$vo.jyzk}</td>
					<td>
						<switch name="vo.lock_status">
							<case value="1">锁定申请中</case>
							<case value="2">已锁定</case>
							<!--<case value="3">申请打回</case>-->
						</switch>
					</td>
					<td>
						<if condition="auth_check('follow')">
							<a href='javascript:parent.openIframeLayer("{:url("resource_library/follow",["pid" => $vo["id"]])}","资源跟进记录")'">跟进</a>
						</if>
						<if condition="auth_check('lock_se')">
							<a href='{:cmf_url("lock_se",["id" => $vo["id"]])}' class="js-ajax-dialog-btn"
							   data-msg="是否锁定该条记录？">锁定</a>
						</if>
						<if condition="auth_check('unlock')">
							<a href='{:cmf_url("unlock",["id" => $vo["id"]])}' class="js-ajax-dialog-btn"
							   data-msg="是否解锁该条记录？">解锁</a>
						</if>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}<li><a>共计 {$lists->total()} 条</a></li><li>
			<input class="page" type="text" name="pageNum" value="{$lists->getCurrentPage()}"/>
			<a class="topage" data-url="{$lists->getCurrentPath()}">跳转</a>
			</li></div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>